#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('127.0.0.1', 7777))
tm = s.recv(1024)
s.close()
print("msg %s" % tm.decode('utf-8'))
